﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
namespace DAL
{
    using DAL.Framework;

    [Table("SysLog")]
    public partial class SysLog : IBaseEntity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Column("Id")]
        [Key]
        [Display(Name = "主键", Order = 1)]
        public string Id { get; set; }

        /// <summary>
        /// 人员
        /// </summary>
        [Column("PersonId")]
        [StringLength(36, ErrorMessage = "长度不可超过36")]
        [Display(Name = "人员", Order = 2)]
        public string PersonId { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        [Column("Message")]
        [StringLength(4000, ErrorMessage = "长度不可超过4000")]
        [Display(Name = "内容", Order = 3)]
        public string Message { get; set; }

        /// <summary>
        /// 结果
        /// </summary>
        [Column("Result")]
        [StringLength(200, ErrorMessage = "长度不可超过200")]
        [Display(Name = "结果", Order = 4)]
        public string Result { get; set; }

        /// <summary>
        /// 模块
        /// </summary>
        [Column("MenuId")]
        [StringLength(36, ErrorMessage = "长度不可超过36")]
        [Display(Name = "模块", Order = 5)]
        public string MenuId { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        [Column("Ip")]
        [StringLength(200, ErrorMessage = "长度不可超过200")]
        [Display(Name = "地址", Order = 6)]
        public string Ip { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [Column("Remark")]
        [StringLength(4000, ErrorMessage = "长度不可超过4000")]
        [Display(Name = "备注", Order = 7)]
        public string Remark { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        [Column("State")]
        [StringLength(200, ErrorMessage = "长度不可超过200")]
        [Display(Name = "状态", Order = 8)]
        public string State { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [Column("CreateTime")]
        [Display(Name = "创建时间", Order = 9)]
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        [Column("CreatePerson")]
        [StringLength(200, ErrorMessage = "长度不可超过200")]
        [Display(Name = "创建人", Order = 10)]
        public string CreatePerson { get; set; }

        /// <summary>
        /// -
        /// </summary>
        [Column("UpdateTime")]
        [Display(Name = "编辑时间", Order = 11)]
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 编辑人
        /// </summary>
        [Column("UpdatePerson")]
        [StringLength(200, ErrorMessage = "长度不可超过200")]
        [Display(Name = "编辑人", Order = 12)]
        public string UpdatePerson { get; set; }



        [Timestamp]
        [Column("Version")]
        public Byte[] Version { get; set; }


    }
 

}

